package com.rw.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 领取表
 * </p>
 *
 * @author Rabit
 * @since 2021-12-20
 */
@Data
@TableName("receive")
public class Receive implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 优惠券id
     */
    private Integer did;

    /**
     * 领取时间
     */
    private LocalDateTime createTime;

}
